package weiyao.xinxidasai.service;

import org.springframework.web.multipart.MultipartFile;
import weiyao.xinxidasai.DTO.Result;
import weiyao.xinxidasai.mapper.UserMapper;
import weiyao.xinxidasai.pojo.Users;

import java.io.IOException;
import java.io.InputStream;


public interface UserService {


    int addUser(Users user);
    int countByUsername(String username);


    Result login(Users user);

    Result FaceToken(MultipartFile file) throws IOException;
}
